/*
 *  StochasticConcreteNote.h
 *  SoundController0002
 *
 *  Created by jiro on 11/10/10.
 *  Copyright 2011 jiro music. All rights reserved.
 *
 */

#pragma once

#include "ConcreteNote.h"

namespace sc
{
namespace system0039
{

	class StochasticConcreteNote : public ConcreteNote
	{
	private:
	
		std::vector< ConcreteNote > notes;

		std::vector< double > probablities;

	public:

		StochasticConcreteNote();

		void AddNote( const ConcreteNote& note, double probablity );
		
		void Clear();

		ConcreteNote GetConcreteNote() const;

		std::string ToString( int tabCount = 0 ) const;

	};

}
}
